package com.cashmama.market.api.infras.enums.user;

/**
 * @program: market-api
 * @description
 * @author: frank
 * @create: 2020-03-17 22:54
 **/
public enum LoginTypeEnum {
    VERIFY_CODE(1, "VERIFY_CODE"),
    PASSWORD(2, "PASSWORD");

    private Integer code;
    private String desc;

    LoginTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public LoginTypeEnum setCode(Integer code) {
        this.code = code;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public LoginTypeEnum setDesc(String desc) {
        this.desc = desc;
        return this;
    }
}
